package com.ibm.cps.message;

import com.ibm.cps.message.MessageFactory.MessageType;

public abstract class AbstractMessage {

	protected String tenantid;
	protected MessageType type;

	public AbstractMessage() {
		// Spark Workaround
		tenantid = "";
		type = MessageType.PLACE_HOLDER;
	}

	public AbstractMessage(String messageContent, MessageType type) {
		this.type = type;
	}

	public String getUserId() {
		return tenantid;
	}

	public void setUserId(String tenantid) {
		this.tenantid = tenantid;
	}

	public MessageType getMessageType() {
		return type;
	}

	public void setMessageType(MessageType type) {
		this.type = type;
	}

}
